package classes
{
	[Bindable]
	public class Recipient implements WritableObject
	{
		public var description:String = "";
		public var name:String = "";
		
		public function Recipient()
		{
				
		}
		
		public function parseRecipientString(raw:XML):void{
			this.description = raw.@description;
			this.name = raw.@name;
		}
		
		public function toWritableString():String{
			return "<recipient name=\"" + this.name + "\" description=\"" + this.description + "\"/>";
		}

	}
}